package com.wjp.banquet.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author 王君平
 * @Date 2024/4/24 9:07
 * @Description
 */
@Data
public class GiftMoneyAddDTO {

    @NotNull(message = "banquetId不能为空")
    private Integer banquetId;

    @NotBlank(message = "宾客姓名不能为空")
    private String guestName;

    @NotNull(message = "礼金不能为空")
    private Integer giftMoney;

    private String remark;

    /**
     * @see com.wjp.banquet.common.enums.YesOrNoEnum
     */
    @NotNull(message = "是否代礼不能为空")
    private Boolean isProxy;

}
